#include <stdio.h>

int main(int argc, char const *argv[])
{
	//1.字符串常量就是此字符串的首元素地址;
	printf("s1 = %p\n", "Hello");
	char *p = "Hello";
	printf("p == %p\n", p);

	return 0;
}


void fun(){
	printf("s2 = %p\n","hello" );
}


int main01(int argc, char const *argv[])
{
	//1.每个字符串都是一个地址,这个地址是字符串首元素的地址;
	//2.字符串常量放在data区,文字常量区.
	printf("s = %s\n","hello" );
	printf("s= %p\n","hello" );
	printf("s = %s\n","hello" +1 );
	//fun();
	return 0;
}